#ifndef EXTRACTGRAPH_H
#define EXTRACTGRAPH_H

#include <iostream>
#include <vector>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>

using namespace cv;
using namespace std;

class ExtractGraph
{
public:

    vector<Mat> processImg;

    ExtractGraph();

    Mat extractBlueLayer(Mat src);
    Mat extractComponet(Mat  src, double thresh=200, double maxValue=255);
    Mat extractText(Mat src, double thresh=150, double threshBright=20, double maxValue=255);
    void getProcessImg(Mat src);
};

#endif // EXTRACTGRAPH_H
